﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RoleList.aspx.cs" Inherits="Components_Permission_RoleList" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Chi tiết nhóm quyền</title>
    <link href="../../Template/Css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type="text/javascript">
            function getRadWindow() {
                if (window.radWindow) {
                    return window.radWindow;
                }
                if (window.frameElement && window.frameElement.radWindow) {
                    return window.frameElement.radWindow;
                }
                return null;
            }
            function OnClientClose(name, code, arg) {
                getRadWindow().close(arg);
            }
        
        </script>
    </telerik:RadCodeBlock>
    <telerik:RadScriptManager ID="ScriptManager2" runat="server" EnableTheming="True">
    </telerik:RadScriptManager>
    <div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div>
            <%--<div class="Title">
                Chi tiết chức danh hệ thống
                <hr />
            </div>--%>
            <div class="wapper wapperMin">
                <div class="is1">
                    <div class="lst1">
                        Cấp trên chức danh hệ thống
                    </div>
                    <div class="textbox1">
                        <telerik:RadComboBox ID="cboParentID" runat="server" Width="183px" 
                            AutoPostBack="true" onselectedindexchanged="cboParentID_SelectedIndexChanged" 
                            TabIndex="1">
                        </telerik:RadComboBox>
                    </div>
                </div>
                <div class="is1">
                    <div class="lst1">
                        Mã chức danh hệ thống
                    </div>
                    <div class="textbox1">
                        <telerik:RadTextBox ID="txtID" runat="server" />
                    </div>
                </div>
                <div class="is1">
                    <div class="lst1">
                        Tên chức danh hệ thống
                    </div>
                    <div class="textbox1">
                        <telerik:RadTextBox ID="txtRoleName" runat="server" 
                            ontextchanged="txtRoleName_TextChanged" TabIndex="2" />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtRoleName" runat="server" ErrorMessage="Không được rỗng"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="is1">
                    <div class="lst1">
                        Ghi chú
                    </div>
                    <div class="textbox1">
                        <telerik:RadTextBox ID="txtRemark" runat="server" 
                            ontextchanged="txtRemark_TextChanged" TabIndex="3" />
                    </div>
                </div>
                <div >
                    <div >
                        <%--Quyền chức danh hệ thống--%>
                    </div>
                    <div >
                        <asp:RadioButton ID="radYes" runat="server" Checked="True" GroupName="ChucNang" 
                            Visible = "false" oncheckedchanged="radYes_CheckedChanged" TabIndex="4" />
                        <asp:Label ID="lblTrue" runat="server" Text="Có" CssClass="lbl1" Visible = "false"/>
                        <asp:RadioButton ID="radNo" runat="server" Checked="True" GroupName="ChucNang" 
                            Visible = "false" oncheckedchanged="radNo_CheckedChanged" TabIndex="5"/>
                        <asp:Label ID="lblFalse" runat="server" Text="Không" CssClass="lbl1" Visible = "false"/>
                    </div>
                </div>
                <div class="is1">
                    <div class="textbox1">
                        <asp:Label ID="lblValidatorQuanTriHeThong" runat="server" Text="Chọn Có hoặc Không"
                            Visible="false" CssClass="lblValidation" />
                    </div>
                </div>
                <div class="is1">
                    <div class="bt1">
                      <div>
                        <asp:Label ID="lblSuccess" runat="server" ForeColor="Blue"></asp:Label>
                        <asp:Label ID="lblResult" runat="server" ForeColor="Red"></asp:Label>
                
                    </div>
                        <asp:Button CssClass="button" ID="btnSave" runat="server" Text="Lưu" 
                            OnClick="btnSave_Click" TabIndex="6"  />
                        <asp:Button CssClass="button" ID="btnDelete" 
                            OnClientClick="return ConfirmOnDelete('Bạn có chắc xóa ?')"  runat="server" 
                            Text="Xóa" OnClick="btnDelete_Click" CausesValidation="false" TabIndex="7" />
                        <asp:Button CssClass="button" ID="btnNew" runat="server" Text="Nhập lại" 
                            OnClick="btnNew_Click" CausesValidation="false" TabIndex="8" />
                        <asp:Button CssClass="button" ID="btnGotoList" runat="server" Text="Danh sách" 
                            OnClick="btnGotoList_Click" CausesValidation="false" TabIndex="9"/>
          
                    </div>
            
                </div>
            </div>
        </div>
        </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
